﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOA.MES.DataAccess.VModel
{
	/// <summary>
	/// 发货柜
	/// </summary>
    public class VDeliveryCabinet : BaseVModel
	{
		private string _deliveryNo = string.Empty;
		private string _cabinetNo = string.Empty;
		private string _orderNo = string.Empty;
		private string _innerOrderNo = string.Empty;
		private string _workOrderNo = string.Empty;
		private string _productCode = string.Empty;
		private string _productName = string.Empty;
		private string _productSpecs = string.Empty;
		private string _nameplateModel = string.Empty;
		private string _iVCurrentLevel = string.Empty;
		private string _qLevel = string.Empty;
		private string _componentColor = string.Empty;
		private string _junBoxSpecs = string.Empty;
		private string _junBoxFactory = string.Empty;
		private string _backPlanSpecs = string.Empty;
		private string _backPlanFactory = string.Empty;
		private string _aluFrameSpecs = string.Empty;
		private string _aluFrameFactory = string.Empty;
		private string _batterySpecs = string.Empty;
		private string _batteryFactory = string.Empty;

		#region Public Property

		///<Summary>
		/// 发货单号
		///</Summary>
		public string DeliveryNo
		{
			get { return string.IsNullOrWhiteSpace(_deliveryNo) ? string.Empty : _deliveryNo; }
			set { _deliveryNo = value; }
		}

		///<Summary>
		/// 柜号
		///</Summary>
		public string CabinetNo
		{
			get { return string.IsNullOrWhiteSpace(_cabinetNo) ? string.Empty : _cabinetNo; }
			set { _cabinetNo = value; }
		}

		///<Summary>
		/// 订单号
		///</Summary>
		public string OrderNo
		{
			get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
			set { _orderNo = value; }
		}

		///<Summary>
		/// 内部单号
		///</Summary>
		public string InnerOrderNo
		{
			get { return string.IsNullOrWhiteSpace(_innerOrderNo) ? string.Empty : _innerOrderNo; }
			set { _innerOrderNo = value; }
		}

		///<Summary>
		/// 工单号
		///</Summary>
		public string WorkOrderNo
		{
			get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
			set { _workOrderNo = value; }
		}

		///<Summary>
		/// 包装数量
		///</Summary>
		public int PackQuantity { get; set; }

		///<Summary>
		/// 物料编码
		///</Summary>
		public string ProductCode
		{
			get { return string.IsNullOrWhiteSpace(_productCode) ? string.Empty : _productCode; }
			set { _productCode = value; }
		}

		///<Summary>
		/// 物料名称
		///</Summary>
		public string ProductName
		{
			get { return string.IsNullOrWhiteSpace(_productName) ? string.Empty : _productName; }
			set { _productName = value; }
		}

		///<Summary>
		/// 物料规格
		///</Summary>
		public string ProductSpecs
		{
			get { return string.IsNullOrWhiteSpace(_productSpecs) ? string.Empty : _productSpecs; }
			set { _productSpecs = value; }
		}

		///<Summary>
		/// 铭牌型号
		///</Summary>
		public string NameplateModel
		{
			get { return string.IsNullOrWhiteSpace(_nameplateModel) ? string.Empty : _nameplateModel; }
			set { _nameplateModel = value; }
		}

		///<Summary>
		/// 功率档
		///</Summary>
		public decimal IVPowerLevel { get; set; }

		///<Summary>
		/// 电流档
		///</Summary>
		public string IVCurrentLevel
		{
			get { return string.IsNullOrWhiteSpace(_iVCurrentLevel) ? string.Empty : _iVCurrentLevel; }
			set { _iVCurrentLevel = value; }
		}

		///<Summary>
		/// 等级
		///</Summary>
		public string QLevel
		{
			get { return string.IsNullOrWhiteSpace(_qLevel) ? string.Empty : _qLevel; }
			set { _qLevel = value; }
		}

		///<Summary>
		/// 组件颜色
		///</Summary>
		public string ComponentColor
		{
			get { return string.IsNullOrWhiteSpace(_componentColor) ? string.Empty : _componentColor; }
			set { _componentColor = value; }
		}

		///<Summary>
		/// 接线盒规格
		///</Summary>
		public string JunBoxSpecs
		{
			get { return string.IsNullOrWhiteSpace(_junBoxSpecs) ? string.Empty : _junBoxSpecs; }
			set { _junBoxSpecs = value; }
		}

		///<Summary>
		/// 接线盒厂家
		///</Summary>
		public string JunBoxFactory
		{
			get { return string.IsNullOrWhiteSpace(_junBoxFactory) ? string.Empty : _junBoxFactory; }
			set { _junBoxFactory = value; }
		}

		///<Summary>
		/// 背板规格
		///</Summary>
		public string BackPlanSpecs
		{
			get { return string.IsNullOrWhiteSpace(_backPlanSpecs) ? string.Empty : _backPlanSpecs; }
			set { _backPlanSpecs = value; }
		}

		///<Summary>
		/// 背板厂家
		///</Summary>
		public string BackPlanFactory
		{
			get { return string.IsNullOrWhiteSpace(_backPlanFactory) ? string.Empty : _backPlanFactory; }
			set { _backPlanFactory = value; }
		}

		///<Summary>
		/// 边框规格
		///</Summary>
		public string AluFrameSpecs
		{
			get { return string.IsNullOrWhiteSpace(_aluFrameSpecs) ? string.Empty : _aluFrameSpecs; }
			set { _aluFrameSpecs = value; }
		}

		///<Summary>
		/// 边框厂家
		///</Summary>
		public string AluFrameFactory
		{
			get { return string.IsNullOrWhiteSpace(_aluFrameFactory) ? string.Empty : _aluFrameFactory; }
			set { _aluFrameFactory = value; }
		}

		///<Summary>
		/// 电池片规格
		///</Summary>
		public string BatterySpecs
		{
			get { return string.IsNullOrWhiteSpace(_batterySpecs) ? string.Empty : _batterySpecs; }
			set { _batterySpecs = value; }
		}

		///<Summary>
		/// 电池片厂家
		///</Summary>
		public string BatteryFactory
		{
			get { return string.IsNullOrWhiteSpace(_batteryFactory) ? string.Empty : _batteryFactory; }
			set { _batteryFactory = value; }
		}
		#endregion
	}
}
